<script language="JavaScript1.2">

// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this header

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;

function ddInit(e){
  topDog=isIE ? "BODY" : "HTML";
  whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer");  
  hotDog=isIE ? event.srcElement : e.target;  
  while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){
    hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
  }  
  if (hotDog.id=="titleBar"){
    offsetx=isIE ? event.clientX : e.clientX;
    offsety=isIE ? event.clientY : e.clientY;
    nowX=parseInt(whichDog.style.left);
    nowY=parseInt(whichDog.style.top);
    ddEnabled=true;
    document.onmousemove=dd;
  }
}

function dd(e){
  if (!ddEnabled) return;
  whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx; 
  whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
  return false;  
}

function ddN4(whatDog){
  if (!isN4) return;
  N4=eval(whatDog);
  N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
  N4.onmousedown=function(e){
    N4.captureEvents(Event.MOUSEMOVE);
    N4x=e.x;
    N4y=e.y;
  }
  N4.onmousemove=function(e){
    if (isHot){
      N4.moveBy(e.x-N4x,e.y-N4y);
      return false;
    }
  }
  N4.onmouseup=function(){
    N4.releaseEvents(Event.MOUSEMOVE);
  }
}

function hideMe(){
  if (isIE||isNN) whichDog.style.visibility="hidden";
  else if (isN4) document.theLayer.visibility="hide";
}

function showMe(){
  if (isIE||isNN) whichDog.style.visibility="visible";
  else if (isN4) document.theLayer.visibility="show";
}

document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");

</script>



<div class="newstitle">Match Preview: <TMPL_VAR NAME=COMPETITION_COMPETITION_NAME> <TMPL_VAR NAME=MATCH_NAME><br>
<TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_FULLNAME> vs <TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_FULLNAME></div>
<div class="viewdate">
<div class="viewlinks"><TMPL_VAR NAME=ADMIN_LINK></div>
posted on <TMPL_VAR NAME=OBJECT_F_DATE> at <TMPL_VAR NAME=OBJECT_F_TIME> by <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=USER&o=<TMPL_VAR NAME=OwnerID>"><TMPL_VAR NAME=OWNER_USER_NAME></a><TMPL_VAR NAME=OBJECT_F_MODIFIED>
</div>

<table width=100% border=0>
<tr>
    <th colspan=2 align=center valign=top><b><big><TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_FULLNAME></big></b><br><TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_LOGO_IMAGE></th>
    <th colspan=2 align=center valign=top><b><big><TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_FULLNAME></big></b><br><TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_LOGO_IMAGE></th>
</tr>

<tr>
    <td class=viewauthor colspan=2 width="50%">
        <table>
        <tr>
        <th align=left valign=top>KO:</th>
        <td align=left valign=top><TMPL_VAR NAME=MATCH_KOTIME_FDATE> at <TMPL_VAR NAME=MATCH_KOTIME_TIME></td>
        </tr>
        </table>
    </td>
    <td colspan=2 class=viewbody width="50%">

        <table>
        <tr>
        <th align=left valign=top>Venue:</th>
        <td align=left valign=top><TMPL_VAR NAME=MATCH_VENUE_LINK_FULL><br> <small><TMPL_VAR NAME=MATCHSTATS_VENUE_DIRECTIONS_LINK></small></td>
        </tr>
        <tr>
        <th align=left valign=top>Referee:</th>
        <td align=left valign=top><TMPL_VAR NAME=MATCH_REFEREE_NAME></td>
        </tr>
        </table>
    </td>
</tr>
<tr>
<td colspan=4>
        <TMPL_VAR NAME=MATCH_NOTES>
</td>
</tr>
<tr>
<td rowspan=8 align="left" valign="top" style="background: url('<TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_STRIPE>') repeat-y left;"><TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_ICON_IMAGE>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<th colspan=2 class=viewbodyhead>Teams:</th>
<td rowspan=8 align="right" valign="top" style="background: url('<TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_STRIPE>') repeat-y right;"><TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_ICON_IMAGE>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr>
<th colspan=2 class=viewbodyhead>Squads:</th>
</tr>
<tr>
<td colspan=2>
    The squads of each side are as follows:<p> 
</td>
<tr>
    <th align=left valign=top><TMPL_VAR NAME=MATCHSTATS_HOMETEAM_CLUB_CLUB_FULLNAME></th>
    <th align=left valign=top><TMPL_VAR NAME=MATCHSTATS_AWAYTEAM_CLUB_CLUB_FULLNAME></th>
</tr>
<tr>
    <td valign=top>
        <table>
        <TMPL_VAR NAME=MATCHSTATS_HOMESQUAD_SQUAD_SQUADPLAYERS>
        </table>
    </td>
    <td class="viewbody" valign=top>
        <table>
        <TMPL_VAR NAME=MATCHSTATS_AWAYSQUAD_SQUAD_SQUADPLAYERS>
        </table>
    </td>
    </tr>
<tr>
<td colspan=4 class=viewbodycomments>Message Board: <a href="javascript:addObject('VIEW','<TMPL_VAR NAME=PK_OBJECT_ID>','MATCHSTATS.<TMPL_VAR NAME=PK_OBJECT_ID>');" class=usercomment>Comment on this match</a> <a href="javascript:addObject('VIEW','<TMPL_VAR NAME=PK_OBJECT_ID>','MATCHSTATS.<TMPL_VAR NAME=PK_OBJECT_ID>');" class=usercomment><img src="images/useractions/lastpost.gif" alt="Comment" width="10" height="11" border="0"></a><br>
Injuries: <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Injuries" class=usercomment>Full current injury list</a> <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Injuries" class=usercomment><img src="images/useractions/lastpost.gif" alt="Injury List" width="10" height="11" border="0"></a><br>
Match Reports: <a href="javascript:addObject('NEWS','<TMPL_VAR NAME=PK_OBJECT_ID>','MATCHSTATS.<TMPL_VAR NAME=PK_OBJECT_ID>');" class=usercomment>Click here to add your own match report of this game.</a> <a href="javascript:addObject('NEWS','<TMPL_VAR NAME=PK_OBJECT_ID>','MATCHSTATS.<TMPL_VAR NAME=PK_OBJECT_ID>');" class=usercomment><img src="images/useractions/lastpost.gif" alt="Add Report" width="10" height="11" border="0"></a><input type="hidden" name="RELATED_MATCHSTATS" value="<TMPL_VAR NAME=PK_OBJECT_ID>"><br>
Email Updates: <a href="javascript:jumpto('User.Updates');" class=usercomment>Register for email updates</a> <a href="javascript:jumpto('User.Updates');" class=usercomment><img src="images/useractions/lastpost.gif" alt="Register" width="10" height="11" border="0"></a><br>
</td>
</td>
</tr>
</table>


<TMPL_VAR NAME=OBJECTS> 
